﻿<%@Page Language="C#" Inherits="WinnerCMS.WebFactory.CategoryPage" EnableSessionState="false" EnableViewState="false" %>
<%@ Import Namespace="WinnerCMS.BLL" %>
<!doctype html>
<html>
<head>
<title><%=WebConfig.SiteName %></title>
<meta charset="utf-8" />
<%: Styles.Render("~/WinnerCMS6/Style") %>
<!--[if lt IE 9]><script src="{SysPath}/Scripts/html5shiv.js"></script><![endif]-->
<%: Scripts.Render("~/Script/Base") %>
<meta name="keywords" content="@MetaKeyword@" />
<meta name="description" content="@MetaDescription@" />

<script type="text/javascript">
     $(document).ready(function ()
     {
         GetVote($("#vote")); //绑定投票
     });
</script>
    <script runat="server">
        private readonly static CoreManage Bll = new CoreManage();
        private void Page_Load(object sender, System.EventArgs e)
        {
            NewContentList.DataBind();
        }
    </script>
</head>
<body>
<%=Html.Partial("~/Templates/WinnerCMS6/Shared/Header.ascx",this.Model.Id) %>
<div class="wherePath"><%=WebConfig.SiteName %></div>
<div style="height:4px">&nbsp;</div>
<div class="mainDiv">
<div class="Left">
  <section class="div_ListBox">
      <header>
        <h2>装 机 必 备</h2>
      </header>
      <div class="Content">
   
          <table width="90%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/total_commander.gif" alt="Winrar3.51简体中文注册版" width="30" height="30" border="0" alt=""/></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/myie.gif" alt="傲游浏览器官方最新版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/oicq.gif" alt="QQ2006珊瑚虫版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/windowsmediaplayer.gif" alt="微软Media Player 10.0 清爽版" width="32" height="32" border="0"></td>
        </tr>
        <tr>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/windowsmediaplayer_classic.gif" alt="暴风影音" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/winamp.gif" alt="Winamp" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/realone.gif" alt="Real Player 全功能版" width="32" height="32" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/net_transport.gif" alt="影音传送带" width="32" height="32" border="0"></td>
        </tr>
        <tr>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/flashget.gif" alt="网际快车Flahget" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/acdsee.gif" alt="AcdSee看图软件5.01简体中文官方版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/foxmail.gif" alt="Foxmail 5.0 官方简体中文版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/kingsoft_powerword.gif" alt="金山词霸2006SP1+牛津英汉双解词典" width="30" height="30" border="0"></td>
        </tr>
        <tr>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/microsoft_office_2003_word.gif" alt="Office 2003 SP2 5合1 xunchi 精简最新修正版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/microsoft_office_2003_frontpage.gif" alt="Microsoft Frontpage 2003 SP2 精简版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/ultra_edit.gif" alt="UltraEdit-32 汉化版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/ultra_iso.gif" alt="UltraISO(软碟通) 多国语言版" width="30" height="30" border="0"></td>
        </tr>
        <tr>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/nero.gif" alt="Nero Burning ROM 7.0.1.4 xunchi版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/alcohol.gif" alt="Alcohol 120%" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/3dmax.gif" alt="3D MAX 7.0 简体中文 80M 精简版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/adobe_photoshop_cs.gif" alt="Adobe Photoshop CS2 V9.0 龙卷风大企业完美版" width="30" height="30" border="0"></td>
        </tr>
        <tr>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/counter_strike.gif" alt="反恐精英No-Steam CS1.6 Ver.3213简体中文正式版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/macromedia_dreamweaver_mx2004.gif" alt="Macromedia Dreamweaver V8.0 官方简体中文版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/macromedia_flash_mx2004.gif" alt="Macromedia Flash V8.0 官方简体中文版" width="30" height="30" border="0"></td>
          <td height="40" align="center"><img src="{SysPath}/Images/bb/macromedia_fireworks_mx2004.gif" alt="Macromedia Fireworks V8.0 官方简体中文版" width="30" height="30" border="0"></td>
        </tr>
      </table>
       
      </div>
</section>
  <section class="div_ListBox">
      <header>
        <h2>下载月排行</h2>
      </header>
      <div class="Content">
        <ul>
         <TW:HotContents runat="server" Rows="10" Type="Month">
        <ItemTemplate>
          <li><a href="<%# Eval("Link") %>" title="<%# Eval("ContentTitle") %>"><%# Eval("ContentTitle") %></a></li>
        </ItemTemplate>
      </TW:HotContents>
        </ul>
      </div>
</section>
<section class="div_ListBox">
      <header>
        <h2>下载周排行</h2>
      </header>
      <div class="Content">
        <ul>
          <TW:HotContents runat="server" Rows="10" Type="Week">
              <ItemTemplate>
                <li><a href="<%# Eval("Link") %>" title="<%# Eval("ContentTitle") %>"><%# Eval("ContentTitle") %></a></li>
              </ItemTemplate>
            </TW:HotContents>
        </ul>
      </div>
</section>
  <section class="div_ListBox">
      <header>
        <h2>投票调查</h2>
      </header>
      <div class="Content">
        <ul  class="normal" id="vote">
    </ul>
      </div>
</section>
</div>
<div class="Right">
  <div style="float:left; width:59%;">
    <div class="DataList-Tabs">
      <h2>软件更新</h2>
    </div>
    <div class="DataList">
      <ul>
        <TW:NewContents runat="server" Rows="12">
          <ItemTemplate>
            <li><a href="<%# Eval("Link") %>" title="<%# Eval("ContentTitle") %>"><%# Eval("ContentTitle") %></a></li>
          </ItemTemplate>
        </TW:NewContents>
      </ul>
    </div>
  </div>
  <div style="width:271px; height:210px; float:right;">
   <section class="div_ListBox">
      <header>
        <h2>网站公告</h2>
      </header>
      <div class="Content">
        <ul class="normal">
<TW:Announces runat="server" Rows="10">
          <ItemTemplate>
            <li><a href='javascript:var win =window.open("../Announce/Show?ID=<%# Eval("ID") %>",null,"width=502,height=200");'><%# Eval("UpdateTime")%>&nbsp;［<%# Eval("Title") %>］</a></li>
          </ItemTemplate>
          <EmptyDataTemplate>没有公告</EmptyDataTemplate>
        </TW:Announces>
        </ul>
      </div>
</section>
  </div>
 
    <TW:DataBox runat="server" ID="NewContentList" DataSource =<%# CategoryManage.GetChildren(this.CategoryId) %>>
        <ItemTemplate>
            <div class="NewContentList">
                <h1>
                    <a href="<%# Eval("Link") %>">
                        <%# Eval("CategoryName")%></a></h1>
                <div class="ContentBox">
                    <ul>
                        <TW:DataBox DataSource=<%# Bll.Latests(12,(int)Eval("ID")) %> runat="server">
                            <ItemTemplate>
                                <li><a href="<%# Eval("Link") %>" title="<%# Eval("ContentTitle") %>">
                                    <%# Eval("ContentTitle") %></a></li></ItemTemplate>
                                    <EmptyDataTemplate><li>没有数据</li></EmptyDataTemplate>
                        </TW:DataBox>
                    </ul>
                </div>
            </div>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <div class="NewContentList" style="float: right; margin-left: 4px;">
                <h1>
                    <a href="<%# Eval("Link") %>">
                        <%# Eval("CategoryName")%></a></h1>
                <div class="ContentBox">
                    <ul>
                        <TW:DataBox DataSource=<%# Bll.Latests(12,(int)Eval("ID")) %> runat="server">
                            <ItemTemplate>
                                <li><a href="<%# Eval("Link") %>" title="<%# Eval("ContentTitle") %>">
                                    <%# Eval("ContentTitle") %></a></li></ItemTemplate>
                                    <EmptyDataTemplate><li>没有数据</li></EmptyDataTemplate>
                        </TW:DataBox>
                    </ul>
                </div>
            </div>
        </AlternatingItemTemplate>
    </TW:DataBox>
  </div>
</div>
<!--#include file="../Footer.aspx"-->
</body>
</html>